﻿@using Erp.Data.Models
@using Erp.Data.Purchases
@using NewLife;
@using NewLife.ERP.Models
@using NewLife.Web;
@using XCode;
@{
    var fact = ViewBag.Factory as IEntityFactory;
    var page = ViewBag.Page as Pager;
}
<div class="form-group">
    <label for="status" class="control-label">状态：</label>
    @Html.ForDropDownList("status", EnumHelper.GetDescriptions(typeof(OrderStatus)), page["status"], "全部", true)
</div>
@await Html.PartialAsync("_SelectCustomer", "customerId")
@await Html.PartialAsync("_SelectProduct", new SelectProductModel{Id="productId"})
@await Html.PartialAsync("_DateRange")